#include "iostream"
#include "vector"
#include "fstream"
#include "cmath"

using namespace std;



#define HLTC_ABS(x) (x>=0? x : -x)    //定义绝对值宏
#define HLTC_AMP 6000


#define PI 3.1415926
int cnt =  0;
int main(){
    cout << "const unsigned short sinTable[]={" ;
    for(double i = 0 ; i <= 90 ; i = i + 0.25){
        double x = PI/180.0*i;
        //cout << i << " " << sin(x) << endl; 
        cnt++;
        if(i==90) cout << (int)(sin(x)*HLTC_AMP) << "};//num="<< cnt  <<endl;
        else cout <<(int)(sin(x)*HLTC_AMP) << "," ;
    }

    cout << "#define HLTC_TABLE_LEN   " << cnt << endl ;
    return 0; 
}